package com.czq.cn.service;

import com.czq.cn.entity.Product;

import java.util.List;

public interface ProductService {

    int addProduct(Product product);

    int updateProduct(Product product);

    int delete(Long id);

    Product detail(Long id);

    List<Product> getList();

}
